package com.yj.lottery_system.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class CreateUserByActivityParam implements Serializable {
    //活动关联人员id
    @NotNull(message = "活动关联人员id不能为空")
    private Long userId;

    //活动关联人员名字
    @NotBlank(message = "活动关联人员名字不能为空")
    private String userName;
}
